Passer au contenu principal
Complete: needs review

Vue d’ensemble

Livepeer est actuellement déployé sur le Arbitrum réseau L2 (Arbitrum One). Pour interagir avec le Livepeer contrats intelligents vous devrez vous connecter à un Arbitrum RPC. Si vous prévoyez d’exécuter votre Gateway dans Sur la chaîne mode, vous aurez besoin de :
  • Un compte Ethereum avec des fonds pour payer les frais de transaction
  • Une URL RPC Ethereum pour se connecter au réseau Arbitrum où Livepeer est déployé

Drapeaux On-Chain requis

Configuration du réseau
-network
string
défaut:"offchain"
Set to the blockchain network arbitrum-one-mainnet
Configuration du compte
-ethUrl
string
défaut:"none"
Ethereum JSON-RPC URL
-ethAcctAddr
string
défaut:"none"
Your Ethereum PUBLIC Wallet (Account) Address.The 0x prefix is optional for -ethAcctAddr Livepeer accepts addresses both with and without the prefix.
-ethPassword
string
défaut:"none"
Password for your KEYSTORE file orPath to your password.txt file containing the password for your Keystore Account
-ethKeystorePath
string
défaut:"none"
Path to your encyrpted keystore directory or keyfile containing your private key

Notes de sécurité

  • Never share your keystore files - they contain your encrypted private keys
  • Use strong passwords for keystore encryption - Back up your keystore securely - The ethPassword only protects the keystore file - your actual private key is stored encrypted within the keystore - Never share your wallet private key. In case of accidental public exposure - remove any funds & change your wallet immediately
/snippets/assets/logos/Livepeer-Logo-Symbol-Theme.svg
EASY SETUP
/snippets/assets/logos/Livepeer-Logo-Symbol-Theme.svg

Configuration facile avec Livepeer outils

Install Your Gateway Software First

-> then come back to this guide.
Livepeer créera automatiquement un nouveau portefeuille et un keystore pour vous si vous ne fournissez pas d’adresse de portefeuille existante après la premièreinstallation de votre logiciel Gateway. Le logiciel détectera qu’aucun keystore n’existe pour cette adresse et vous demandera de:
  • Entrez votre clé privée
  • Créer une adresse de compte (portefeuille) -ethAcctAddr
  • Définir un mot de passe pour le chiffrement du keystore -ethPassword
  • Créer le fichier keystore -ethKeystorePath
Utilisez la commande ci‑dessous pour démarrer rapidement une passerelle on‑chain avec un nouveau portefeuille et générer automatiquement tous les paramètres requis. Voir RPC URL pour des instructions sur la recherche ou l’utilisation d’une alternative Arbitrum RPC URL.
Create New Wallet & Keystore
livepeer -gateway \
-network arbitrum-one-mainnet \
-ethUrl=https://arb1.arbitrum.io/rpc #public RPC: rate-limited
\ -ethAcctAddr="" \
-ethKeystorePath="" \
-ethPassword=""
Si vous souhaitez importer un portefeuille existant - placez l’adresse publique dans le -ethAcctAddr drapeau.
Exisiting Wallet, New Keystore
livepeer -gateway \
    -network arbitrum-one-mainnet \
    -ethUrl=https://arb1.arbitrum.io/rpc #public rate-limited RPC
    \ -ethAcctAddr=<YOUR_WALLET_ADDRESS> \
    -ethKeystorePath=""

Dossiers par défaut des données de compte

Les données de compte sont stockées dans le ~/.lpData répertoire par défaut. Les fichiers de keystore sont créés par défaut dans :
Docker
#inside container
/root/.lpData/

#on host
/var/lib/docker/volumes/gateway-lpData/_data/

Next Step

Fund Your Gateway

/snippets/assets/logos/Livepeer-Logo-Symbol-Theme.svg
FULL SETUP GUIDE
/snippets/assets/logos/Livepeer-Logo-Symbol-Theme.svg

Guide complet de configuration sur chaîne

Guide complet avec des options alternatives pour configurer une passerelle sur chaîne
1

Network `-network`

-network
string
défaut:"offchain"
Set to the blockchain network arbitrum-one-mainnet
2

RPC URL `-ethUrl` flag

-ethUrl
string
défaut:"none"
Ethereum JSON-RPC URLExample: https://arb1.arbitrum.io/rpc
You can use any Arbitrum One RPC URL.
  • Public RPCs
  • Third-party RPC providers
  • Self-hosted RPC

Public RPCs

Many of the public RPCs apply rate-limits, including the third-party providers. These free-tier RPC’s should be sufficient to run a single Gateway with the latest versions of Livepeer.Chainlist provides a full list of public Arbitrum One RPCs (including the Arbitrum public RPC):
You can also check the RPC status on Chainlist
3

ETH Account `-ethAcctAddr`

Blockchain wallets (accounts) have both a public account address (starting with “0x…”) and a private key.This field is for your public wallet address.
ONLY use your PUBLIC Wallet Address in this field.NEVER use your PRIVATE key. A public address is akin to your bank account number, a private key is like your bank PIN or password.
-ethAcctAddr
string
défaut:"none"
Livepeer automatically creates a wallet for you if this field is empty.-ethAcctAddr=""
Your public wallet address: 0x...Example: 0xc7653d426f2ec8bc33cdde08b15f535e2eb2f523

You can
  • Use an existing Ethereum wallet address (e.g., from MetaMask, hardware wallet, etc.)
  • Let Livepeer automatically create a new wallet address. See code accountmanager.go
You can use any existing Ethereum wallet address which can transact on Arbitrum.You will use Arbitrum One Mainnet to transact on the Livepeer network as this is significantly cheaper than using Ethereum, so ensure your wallet can transact on Arbitrum.
It’s advisable to use a wallet you own the private keys for rather than an exchange wallet.
The following guides are provided as a reference only - no recommendation is made for any specific wallet provider.
4

ETH Password `-ethPassword`

This is NOT your wallet private key.Choose a strong password to secure your keystore file.Make sure to never share or lose access to either the password or the keystore file
Think of this flag as -keystorePassword - it is the path to a password.txt file containing a (strong) password chosen by you.This password is used to decrypt the keystore file and access the (encrypted) private key.
-ethPassword
string
défaut:"none"
Path to a password.txt file containing a (strong) password chosen by you.
    # Password File
    -ethPassword=/path/to/password.txt
Livepeer will prompt you for a password and create this automatically on running the Gateway if you leave this flag empty: -ethPassword=""

    # Create keystore directory
    mkdir -p ~/.lpData/keystore

    # Place your keystore file
    cp your_keystore_file.json ~/.lpData/keystore/

    # Create password file
    echo "your_password" > ~/.lpData/password.txt
5

ETH Keystore `-ethKeystorePath`

-ethKeystorePath
string
défaut:"none"
This is the path to your keystore directory or keyfile.
    # Password File
    -ethKeystorePath=/path/to/keystore
Livepeer will create the keystore automatically on running the Gateway if you leave this flag empty: -ethKeystorePath=""
To bring your existing Ethereum account to Livepeer, you need to create a keystore file with your private key and place it in the correct directory structure.The keystore files follow Ethereum’s UTC-timestamp-address format. These files, often referred to as “UTC / JSON Wallets” or “Web3 Secret Storage Definition” files, are encrypted local files that contain your Ethereum private key, allowing access to your account.Livepeer uses standard Ethereum keystore encryption, so any tool that creates Ethereum keystores will work. Create a keystore file using Livepeer devtools or Ethereum tooling.

Create Automatically with Livepeer Tooling

It’s recommended to let Livepeer devtools automatically create the keystore on first run after installing the Gateway software.
Use the command:
livepeer -gateway \
    -network arbitrum-one-mainnet \
    -ethUrl=<YOUR_ARBITRUM_RPC_URL> \
    -ethAcctAddr=0xYOUR_WALLET_ADDRESS \
    -ethPassword="" #can be omitted
    \ -ethKeystorePath=""  #can be omitted
Enter your private wallet key and password when prompted

Keystore File Location

Docker
#inside container
/root/.lpData/

#on host
/var/lib/docker/volumes/gateway-lpData/_data/

Keystore File Format

Keystore File Format
{
    "address": "089d8ab6752bac616a1f17246294eb068ee23d3e",
    "crypto": {
        "cipher": "aes-128-ctr",
        "ciphertext": "...",
        "cipherparams": {"iv": "..."},
        "kdf": "scrypt",
        "kdfparams": {...},
        "mac": "..."
        },
    "id": "unique-id",
    "version": 3
}

Create Now with Ethereum Tooling

Otherwise you can use Ethereum tools to create the keystore - instructions below.
If you are here, It is assumed you understand the security implications of exporting your private key and are able to vet & install any required software and convert linux bash commands to your own OS.Livepeer does not endorse or recommend any particular site or tools provided.
To create the keystore file, you can use one of the following methods:
  • Using Docker: Run the container interactively
  • Using geth (Ethereum’s development tool)
  • Using eth-cli (Ethereum’s command line tool)
  • Using node
  • Using web-based sites (not recommended)
You will need to:
  1. Export your private key from your existing wallet
  2. Create a keystore file with your private key
  3. Create a password file with a strong password
  4. Place the keystore file and password file in the correct directory
1

Export Private Key

Export your private key from your existing wallet
2

Create Keystore File

Example_Keystore.json
// Format: UTC--<TIMESTAMP>--<PUBLIC_ADDRESS>.json
UTC--2015-11-16T11-52-22.592017989Z--089d8ab6752bac616a1f17246294eb068ee23d3e.json
Create Keystore File
3

Create Password File

Create a password.txt file containing a (strong) password chosen by you. This password is used to decrypt the keystore file and access the private key.
Make sure to never share or lose access to either the password or the keystore file
# Create password file with the same password you just used
echo "YOUR_PASSWORD" > ~/.lpData/eth-secret.txt

# Secure it (Linux/Mac)
chmod 600 ~/.lpData/eth-secret.txt
4

Create Password File & Configure Directory

After creating the keystore with geth or eth-cli, you must manually create the password file.
# geth creates the keystore but does NOT save the password
geth account import --datadir ~/.lpData/arbitrum-one-mainnet/
# Enter private key: xxxxxx
# Enter password: yourpassword
# ✓ Keystore created

# YOU must manually create the password file
echo "yourpassword" > ~/.lpData/eth-secret.txt
Place it in Livepeer’s keystore directory & configure Livepeer to use your account.
# Linux/Mac
mkdir -p ~/.lpData/arbitrum-one-mainnet/keystore/
mv UTC--* ~/.lpData/arbitrum-one-mainnet/keystore/
Last modified on March 1, 2026